﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace StyleMVVM.Utilities
{
	public static class InternalTaskHelper
	{
		internal static Task<T> ReturnTask<T>(T returnValue)
		{
			Task<T> newTask = new Task<T>(() => returnValue);

			newTask.RunSynchronously();

			return newTask;
		}
	}
}